﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EIIS.FrameWork.DomainModel;
using Iesi.Collections.Generic;

namespace EIIS.Infrastructure.Model.System.Authority
{
    /// <summary>
    /// 针对MVC的Action权限
    /// </summary>
    public class ActionPermission:Entity
    {

        /// <summary>
        /// 权限编号
        /// </summary>
        public virtual string ActionID { get; set; }

        /// <summary>
        /// 请求地址
        /// </summary>
        public virtual string ActionName { get; set; }

        /// <summary>
        /// 请求地址
        /// </summary>
        public virtual string ControllerName { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public virtual string Description { get; set; }

        /// <summary>
        /// 角色列表
        /// </summary>
        public virtual Iesi.Collections.Generic.ISet<Role> Roles { get; set; }
    }
}
